package main

import "fmt"

const LIM = 10

func fibonacci(n int) (res int){
	if n<=1{
		res = 1
	} else {
		res = fibonacci(n-1) + fibonacci(n-2)
	}
	return
}

func main() {
	var array [LIM]int
	for i:=0;i<LIM;i++{
		array[i] = fibonacci(i)
	}

	fmt.Println(array)
}
